package com.hunter.sign.dao.mapper;

import com.hunter.sign.dao.model.SignWitness;
import com.hunter.sign.dao.model.SignWitnessExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface SignWitnessMapper {
    long countByExample(SignWitnessExample example);

    int deleteByExample(SignWitnessExample example);

    int deleteByPrimaryKey(Long witnessId);

    int insert(SignWitness record);

    int insertSelective(SignWitness record);

    List<SignWitness> selectByExample(SignWitnessExample example);

    SignWitness selectByPrimaryKey(Long witnessId);

    int updateByExampleSelective(@Param("record") SignWitness record, @Param("example") SignWitnessExample example);

    int updateByExample(@Param("record") SignWitness record, @Param("example") SignWitnessExample example);

    int updateByPrimaryKeySelective(SignWitness record);

    int updateByPrimaryKey(SignWitness record);
}